/* 全局样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: #f5f5f5;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.top-section {
    height: 45vh;
    width: 100%;
    position: relative;
}

.top-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-section {
    flex: 1;
    background: white;
    border-radius: 24px 24px 0 0;
    margin-top: -24px;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.login-options {
    display: flex;
    margin: 20px auto;
    position: relative;
    max-width: 300px;
    height: 44px;
    background: rgba(245, 245, 245, 0.9);
    border-radius: 22px;
    padding: 2px;
}

.login-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 8px 0;
}

.login-btn:hover {
    color: #333;
}

.login-btn.active {
    color: white;
}

.login-options::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background-color: #FFB6C1;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.login-options.password-active::before {
    transform: translateX(calc(100% - 0px));
}

.login-form {
    padding: 20px 0;
}

.input-group {
    background: #f5f5f5;
    border-radius: 25px;
    padding: 5px 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    height: 50px;
}

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 16px;
    outline: none;
    color: #333;
}

.input-group .prefix {
    color: #666;
    padding-right: 10px;
    border-right: 1px solid #ddd;
    margin-right: 10px;
}

.get-code {
    border: none;
    background: transparent;
    color: #FFB6C1;
    padding: 0 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 15px;
}

.get-code:hover, .get-code:active {
    background-color: rgba(255, 182, 193, 0.1);
    color: #ff8c9e;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: none;
    background-color: #FFB6C1;
    color: white;
    font-size: 16px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 182, 193, 0.4);
}

.submit-btn:hover {
    background-color: #ff9aab;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 182, 193, 0.5);
}

.submit-btn:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 4px rgba(255, 182, 193, 0.4);
}

.terms {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    justify-content: center;
}

.terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #FFB6C1;
}

.terms label {
    font-size: 12px;
    color: #666;
}

.terms a {
    color: #666;
    text-decoration: none;
}

.other-login {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.other-login-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.other-login-icon:hover {
    background: #e5e5e5;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.other-login-icon:active {
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .bottom-section {
        max-width: 400px;
        margin: -24px auto 0;
        border-radius: 24px;
    }
} 